#define _CRT_SECURE_NO_WARNINGS 1
tepedef struct SLTNode
{
	int date;
	struct SLTNode* next;
}SLTNode;
#include<stdio.h>

SLTNode* SLTNodeCreat()
{
	SLTNode* phead = (SLTNode*)malloc(sizeof(SLTNode));
	SLTNode* cur = (SLTNode*)malloc(sizeof(SLTNode));

	for (int i = 0; i < 10; i++)
	{
		SLTNode* newnode = (SLTNode*)malloc(sizeof(SLTNode));
		newnode->date = i;
		newnode->next = NULL;

		cur->next = newnode;
		cur = cur->next;
	}
	return phead;

}

void Print(SLTNode* phead)
{
	SLTNode* now = phead;
	while (now != NULL)
	{
		printf("%d->", now->date);
	}
	printf("NULL");
}

int main()
{
	SLTNode* phead = SLTNodeCreat(void);
	void Print(phead);
	return 0;
}